﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace GuidGeneratorWPF
{
	/// <summary>
	/// Interaction logic for HelpWindow.xaml
	/// </summary>
	public partial class HelpWindow : Window
	{
		public HelpWindow()
		{
			InitializeComponent();

			this.helpControl.TitleBar.Visibility = System.Windows.Visibility.Collapsed;
			this.helpControl.Border.BorderThickness = new Thickness(0);
			this.helpControl.Border.CornerRadius = new CornerRadius(0);
		}

		private void Window_KeyDown(object sender, KeyEventArgs e)
		{
			switch (e.Key)
			{
				case Key.Escape:
					this.Close();
					break;
			}
		}
	}
}
